﻿// Decompiled with JetBrains decompiler
// Type: MCM.LightInject.Dependency
// Assembly: MCMv5, Version=5.10.2.0, Culture=neutral, PublicKeyToken=null
// MVID: 7AB326B9-B2B4-41C2-9177-68E944071101
// Assembly location: D:\steam\steamapps\workshop\content\261550\2859238197\bin\Win64_Shipping_Client\MCMv5.dll

using System;
using System.Diagnostics.CodeAnalysis;
using System.Text;

#nullable disable
namespace MCM.LightInject
{
  [ExcludeFromCodeCoverage]
  internal abstract class Dependency
  {
    public Type ServiceType { get; set; }

    public string ServiceName { get; set; }

    public Delegate FactoryExpression { get; set; }

    public abstract string Name { get; }

    public bool IsRequired { get; set; }

    public override string ToString()
    {
      return new StringBuilder().AppendFormat("[Requested dependency: ServiceType:{0}, ServiceName:{1}]", (object) this.ServiceType, (object) this.ServiceName).ToString();
    }
  }
}
